package com.ruoyi.app.domain.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class InpatientRegisterVo {
    private String patientId; //住院人ID
    private String inpatientNo; //出院时间
    private String patientName; //住院人名称
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date admissionTime; //入院时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dischargeTime; //出院时间

    @Override
    public String toString() {
        return "InpatientRegisterVo{" +
                "inpatientNo='" + inpatientNo + '\'' +
                ", patientId='" + patientId + '\'' +
                ", patientName='" + patientName + '\'' +
                ", admissionTime=" + admissionTime +
                ", dischargeTime=" + dischargeTime +
                '}';
    }

    public String getInpatientNo() {
        return inpatientNo;
    }

    public void setInpatientNo(String inpatientNo) {
        this.inpatientNo = inpatientNo;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Date getAdmissionTime() {
        return admissionTime;
    }

    public void setAdmissionTime(Date admissionTime) {
        this.admissionTime = admissionTime;
    }

    public Date getDischargeTime() {
        return dischargeTime;
    }

    public void setDischargeTime(Date dischargeTime) {
        this.dischargeTime = dischargeTime;
    }
}
